package com.example.dayday.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.baomidou.mybatisplus.annotation.TableField;
import com.example.dayday.pojo.Course;
import com.example.dayday.pojo.Message;
import com.example.dayday.pojo.Specialized;
import com.example.dayday.pojo.Student;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.beans.Transient;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class StudentVo extends Student {
@ExcelIgnore
@TableField(exist = false)
    private List<Course> flavors = new ArrayList<>();

@ExcelProperty(value = "学生专业" ,index = 3)
    private String specialized;
    @ExcelProperty(value = "选课信息",index = 4)
    @ColumnWidth(value = 55)
        private  String courseName;
    @ExcelIgnore
    @TableField(exist = false)
    private List<Message> messageList=new ArrayList<>();

}
